import './style.css';
import 'ant-design-vue/dist/reset.css';
import '@/assets/styles/index.less';
// import piniaState from 'pinia-plugin-persistedstate'

import DefaultTheme from 'vitepress/theme'
import Layout from './Layout.vue'
import Antd from 'ant-design-vue';
import { createPinia } from 'pinia'
const pinia = createPinia()
// pinia.use(piniaState)
export default {
  ...DefaultTheme,
  Layout,
  enhanceApp(ctx) {
    DefaultTheme.enhanceApp(ctx)
    ctx.app.use(Antd).use(pinia)
  }
}